package com.cgnpc.scp.sri.laboratory.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;
import java.util.List;

@TableName("tbl_sri_laboratory_annualplanphase")
public class LaboratoryAnnualPlanPhase {
    private String id;

    private String folio;

    private String processName;

    private String procInstId;

    private Integer planStatus;

    private Integer orderIndex;

    private String annualPlanId;

    private String phaseName;

    private Date plannedStartTime;

    private Date plannedEndTime;

    private Date startTime;

    private Date endTime;

    private String leaderUser;

    private String leaderUserName;

    private String progressRemark;

    private String progressQuestion;

    private String fileId;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getFolio() {
        return folio;
    }

    public void setFolio(String folio) {
        this.folio = folio == null ? null : folio.trim();
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName == null ? null : processName.trim();
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId == null ? null : procInstId.trim();
    }

    public Integer getPlanStatus() {
        return planStatus;
    }

    public void setPlanStatus(Integer planStatus) {
        this.planStatus = planStatus;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    public String getAnnualPlanId() {
        return annualPlanId;
    }

    public void setAnnualPlanId(String annualPlanId) {
        this.annualPlanId = annualPlanId == null ? null : annualPlanId.trim();
    }

    public String getPhaseName() {
        return phaseName;
    }

    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName == null ? null : phaseName.trim();
    }

    public Date getPlannedStartTime() {
        return DateUtil.cloneNewDate(plannedStartTime);
    }

    public void setPlannedStartTime(Date plannedStartTime) {
        this.plannedStartTime = DateUtil.cloneNewDate(plannedStartTime);
    }

    public Date getPlannedEndTime() {
        return DateUtil.cloneNewDate(plannedEndTime);
    }

    public void setPlannedEndTime(Date plannedEndTime) {
        this.plannedEndTime = DateUtil.cloneNewDate(plannedEndTime);
    }

    public Date getStartTime() {
        return DateUtil.cloneNewDate(startTime);
    }

    public void setStartTime(Date startTime) {
        this.startTime = DateUtil.cloneNewDate(startTime);
    }

    public Date getEndTime() {
        return DateUtil.cloneNewDate(endTime);
    }

    public void setEndTime(Date endTime) {
        this.endTime = DateUtil.cloneNewDate(endTime);
    }

    public String getLeaderUser() {
        return leaderUser;
    }

    public void setLeaderUser(String leaderUser) {
        this.leaderUser = leaderUser == null ? null : leaderUser.trim();
    }

    public String getLeaderUserName() {
        return leaderUserName;
    }

    public void setLeaderUserName(String leaderUserName) {
        this.leaderUserName = leaderUserName == null ? null : leaderUserName.trim();
    }

    public String getProgressRemark() {
        return progressRemark;
    }

    public void setProgressRemark(String progressRemark) {
        this.progressRemark = progressRemark == null ? null : progressRemark.trim();
    }

    public String getProgressQuestion() {
        return progressQuestion;
    }

    public void setProgressQuestion(String progressQuestion) {
        this.progressQuestion = progressQuestion == null ? null : progressQuestion.trim();
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId == null ? null : fileId.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }

    @TableField(exist = false)
    private List<LaboratoryAnnualPlanPhasePerson> persons;
    @TableField(exist = false)
    private String fileName;
    @TableField(exist = false)
    private String filePath;

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public List<LaboratoryAnnualPlanPhasePerson> getPersons() {
        return persons;
    }

    public void setPersons(List<LaboratoryAnnualPlanPhasePerson> persons) {
        this.persons = persons;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}